package com.ideal.frame.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "root")
public class RootProperties {
    private int retry;
    private int retryTime;
    private int rootPort;
    private String rootIp;
    private String rootPrefix;
    private String findSyncNode;
    private String syncNodeData;
    private String findSyncRoot;
    private String syncRootData;
    private String findSyncPrefix;
    private String syncPrefixData;
}
